<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>添加员工信息</title>
    <script type="text/javascript" charset="utf8" src="${pageContext.request.contextPath}/js/jquery-3.5.1.js"></script>
    <link href="${pageContext.request.contextPath}/css/common.css" rel="stylesheet">
    <link href="${pageContext.request.contextPath}/bootstrap460/css/bootstrap.css" rel="stylesheet">
    <script src="${pageContext.request.contextPath}/jquery/jquery-3.6.0.js"></script>
    <script src="${pageContext.request.contextPath}/bootstrap460/js/bootstrap.js"></script>
    <script src="${pageContext.request.contextPath}/hui/lib/layer/2.4/skin/layer.css"></script>
    <script src="${pageContext.request.contextPath}/hui/lib/layer/2.4/layer.js"></script>
</head>
<body>
<div class="container">
    <h3>添加员工信息</h3>
    <form action="${pageContext.request.contextPath}/student/normal/addEmp" method="post">
        <div class="form_group">
            <label>工号</label>
            <input name="Emp_Id" id="Emp_Id" type="text" class="form-control">
        </div>
        <div class="form_group">
            <label>姓名</label>
            <input name="Emp_Name" id="Emp_Name" type="text" class="form-control">
        </div>
        <div class="form_group">
            <label>性别</label>
            <input name="Emp_Sex" id="Emp_Sex" type="text" class="form-control">
        </div>
        <div class="form_group">
            <label>年龄</label>
            <input name="Emp_Age" id="Emp_Age" type="text" class="form-control">
        </div>
        <div class="form_group">
            <label>负责楼房</label><input name="build_id" id="build_id" type="text" class="form-control"></div>
        <div class="form_group">
            <label>职位</label>
            <input name="Emp_Job" id="Emp_Job" type="text" class="form-control">
        </div>
        <div class="form_group">
            <label>家庭地址</label>
            <input name="Emp_Add" id="Emp_Add" type="text" class="form-control">
        </div>
        <div class="form_group">
            <label>联系方式</label>
            <input name="Emp_Tel" id="Emp_Tel" type="text" class="form-control">
        </div>
        <div class="form_group">
            <label>备注</label>
            <input name="Emp_Des" id="Emp_Des" type="text" class="form-control">
        </div>
        <div class="form_group">
            <label>权限</label>
            <input name="root" id="root" type="text" class="form-control">
        </div>
        <div class="form_group">
            <label>密码</label>
            <input name="password" id="password" type="text" class="form-control">
        </div>
        <button class="btn btn-primary" type="submit">提交</button><br><br>
        <input class="btn btn-default" onclick="backAndFresh()" type="button" value="返回" />
    </form>
</div>
<script>
    function backAndFresh(){
        var url =document.referrer;
        window.location=url;
    }
</script>
</body>
</html>
